using System.Windows.Controls;
namespace CapstoneWinPhone.Data
{
    public class Expense
    {
        public string Description { get; private set; }
        public double Amount { get; private set; }
        public string PlaceOfPurchase { get; private set; }
        
        public Expense(string description, double amount, string placeOfPurchase = "")
        {
            Description = description;
            Amount = amount;
            PlaceOfPurchase = placeOfPurchase;
        }
        public Expense()
        {

        }

        public override string ToString()
        {
            return PlaceOfPurchase + " : " + Amount;
        }
    }
}
